package day240512.e1_behavior;

public class Student extends MyObject {
    String name;
    int age;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
        this.xxx = this.age;
    }

    @Override
    public double getXXX() {
        return age;
    }

    @Override
    public String toString() {
        return this.name + "(" + this.age + ")";
    }
}
